package com.zx.sdk.listener;

import androidx.annotation.NonNull;

import com.zx.sdk.league.member.BaseLeagueMember;
import com.zx.sdk.model.AdInfo;
import com.zx.sdk.model.ZxError;

import java.util.Map;

public interface ZxRewardAdListener extends ZxListener {
    void onADClick(BaseLeagueMember<?, ?, ?, ?,?> member, AdInfo adInfo);

    void onADClose(BaseLeagueMember<?, ?, ?, ?,?> member, AdInfo adInfo);

    void onADExpose(BaseLeagueMember<?, ?, ?, ?,?> member, AdInfo adInfo);

    void onADLoad(BaseLeagueMember<?, ?, ?, ?,?> member, AdInfo adInfo);

    void onReward(BaseLeagueMember<?, ?, ?, ?,?> member, @NonNull Map<String, Object> map, AdInfo adInfo);

    void onVideoCached(BaseLeagueMember<?, ?, ?, ?,?> member, AdInfo adInfo);

    void onVideoComplete(BaseLeagueMember<?, ?, ?, ?,?> member, AdInfo adInfo);

    void onPreLoadADError(BaseLeagueMember<?, ?, ?, ?,?> member, ZxError error, AdInfo adInfo);

    void onRewardStepVerify(BaseLeagueMember<?, ?, ?, ?,?> member, int taskType, int currentTaskStatus, AdInfo adInfo);

    void onAdSkip(BaseLeagueMember<?, ?, ?, ?,?> member, float v, AdInfo adInfo);

    void onVideoPlayError(BaseLeagueMember<?, ?, ?, ?,?> member, ZxError error, AdInfo adInfo);

    void onNoAD(BaseLeagueMember<?, ?, ?, ?,?> member, ZxError error, AdInfo adInfo);
}
